﻿using System;
namespace Producers.Ehr.Xtee.Riik.Ee.Producer.Ehr {
    
    
    public partial class ENOrgYldAndmedResponse : global::Producers.Ehr.Xtee.Riik.Ee.Producer.Ehr.IENOrgYldAndmedResponse {
        
        private System.Collections.Generic.List<ENOrgYldAndmedResponse.IOrgArrayType> @__orgArray = new System.Collections.Generic.List<ENOrgYldAndmedResponse.IOrgArrayType>();
        
        public ENOrgYldAndmedResponse() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public ENOrgYldAndmedResponse(System.Collections.Generic.List<ENOrgYldAndmedResponse.IOrgArrayType> @orgArray) {
            this.@__orgArray = @orgArray;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected ENOrgYldAndmedResponse(IENOrgYldAndmedResponse @eNOrgYldAndmedResponse) {
            this.@__orgArray = @eNOrgYldAndmedResponse.OrgArray;
        }
        
        public virtual System.Collections.Generic.List<ENOrgYldAndmedResponse.IOrgArrayType> OrgArray {
            get {
                return this.@__orgArray;
            }
            set {
                this.@__orgArray = value;
            }
        }
        
        public partial class OrgArrayType : IOrgArrayType {
            
            private string @__orgEhakkood;
            
            private string @__orgRegKood;
            
            private string @__orgEPost;
            
            private string @__orgFaks;
            
            private string @__orgTelefon;
            
            private string @__orgPostiaadresss;
            
            private string @__orgNimetus;
            
            public OrgArrayType() {
            }
            
            /// <summary>
            /// All parameters
            /// </summary>
            public OrgArrayType(string @orgEhakkood, string @orgRegKood, string @orgEPost, string @orgFaks, string @orgTelefon, string @orgPostiaadresss, string @orgNimetus) {
                this.@__orgEhakkood = @orgEhakkood;
                this.@__orgRegKood = @orgRegKood;
                this.@__orgEPost = @orgEPost;
                this.@__orgFaks = @orgFaks;
                this.@__orgTelefon = @orgTelefon;
                this.@__orgPostiaadresss = @orgPostiaadresss;
                this.@__orgNimetus = @orgNimetus;
            }
            
            /// <summary>
            /// Copy Constructor
            /// </summary>
            protected OrgArrayType(IOrgArrayType @orgArrayType) {
                this.@__orgEhakkood = @orgArrayType.OrgEhakkood;
                this.@__orgRegKood = @orgArrayType.OrgRegKood;
                this.@__orgEPost = @orgArrayType.OrgEPost;
                this.@__orgFaks = @orgArrayType.OrgFaks;
                this.@__orgTelefon = @orgArrayType.OrgTelefon;
                this.@__orgPostiaadresss = @orgArrayType.OrgPostiaadresss;
                this.@__orgNimetus = @orgArrayType.OrgNimetus;
            }
            
            public virtual string OrgEhakkood {
                get {
                    return this.@__orgEhakkood;
                }
                set {
                    this.@__orgEhakkood = value;
                }
            }
            
            public virtual string OrgRegKood {
                get {
                    return this.@__orgRegKood;
                }
                set {
                    this.@__orgRegKood = value;
                }
            }
            
            public virtual string OrgEPost {
                get {
                    return this.@__orgEPost;
                }
                set {
                    this.@__orgEPost = value;
                }
            }
            
            public virtual string OrgFaks {
                get {
                    return this.@__orgFaks;
                }
                set {
                    this.@__orgFaks = value;
                }
            }
            
            public virtual string OrgTelefon {
                get {
                    return this.@__orgTelefon;
                }
                set {
                    this.@__orgTelefon = value;
                }
            }
            
            public virtual string OrgPostiaadresss {
                get {
                    return this.@__orgPostiaadresss;
                }
                set {
                    this.@__orgPostiaadresss = value;
                }
            }
            
            public virtual string OrgNimetus {
                get {
                    return this.@__orgNimetus;
                }
                set {
                    this.@__orgNimetus = value;
                }
            }
        }
        
        public interface IOrgArrayType {
            
            string OrgEhakkood {
                get;
                set;
            }
            
            string OrgRegKood {
                get;
                set;
            }
            
            string OrgEPost {
                get;
                set;
            }
            
            string OrgFaks {
                get;
                set;
            }
            
            string OrgTelefon {
                get;
                set;
            }
            
            string OrgPostiaadresss {
                get;
                set;
            }
            
            string OrgNimetus {
                get;
                set;
            }
        }
    }
}
